@charset "UTF-8";
/*!
 * Fresns (https://fresns.org)
 * Copyright 2021-Present Jevan Tang
 * Licensed under the Apache-2.0 license
 */

body {
    background: #f5f7f8;
    line-height: 1.34;
}
.fs-7 {
    font-size: 0.9rem;
}
.w-65 {
    width: 65% !important;
}
.w-35 {
    width: 35% !important;
}
.zoom-image {
    cursor: zoom-in;
}
.iframe-modal {
    width: 100%;
}
.border-end-rounded-0 {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.portal {
    margin-top: 88px;
}

/* Navbar */
header .navbar {
    background: #ffffff;
}
.nav-avatar {
    width: 2rem;
    height: 2rem;
}
.user-feature-icon {
    width: 1.2rem;
    height: 1.2rem;
}
.btn-nav {
    width: 2.6rem;
    height: 2.6rem;
}
.auth-avatar {
    width: 4rem;
    height: 4rem;
}
.auth-nickname img {
    width: 1rem;
    height: 1rem;
    margin-top: -0.2rem;
}

/* Common */
.fs-top {
    margin-top: 4.8rem;
}
.list-group-numbered>.list-group-item::before {
    color: #e02433;
}
.sticky-top-offset {
    top: 4.8rem;
}
.fs-tag {
    color: #f66524;
    border: 1px solid #f66524;
    font-size: 0.5rem;
    line-height: normal;
    display: inline-block;
    box-sizing: border-box;
    border-radius: 5px;
    padding: 1px 8px;
}
.fs-filter .nav-link {
    color: #4f5a70;
}
.fs-filter .nav-link:hover {
    color: #739ff9;
}
.fs-sticky-link a {
    color: #1a1e21;
}
.fs-sticky-link a:hover {
    color: var(--bs-link-color);
}
.list-cover {
    width: 3rem;
    height: 3rem;
    margin-left: 1rem;
}
.list-name {
    text-decoration: none;
    color: #212529;
    max-width: 16rem;
    margin-bottom: 0.3rem;
}
.list-name:hover {
    text-decoration: underline;
    color: #212529;
}
.list-recommend {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.15rem;
}
.list-btn {
    overflow: hidden;
    margin-top: 0.5rem;
    margin-bottom: 0.6rem;
}
.badge-bg-info .badge {
    font-weight: 400;
    background-color: #e7f3ff;
    color: #1877f2;
    margin-bottom: 0.2rem;
    margin-right: 0.2rem;
}

@media (min-width: 992px) {
    .list-name {
        max-width: 18rem;
    }
    .list-btn {
        margin-top: -0.25rem;
        margin-bottom: 0rem;
        margin-right: 0.8rem;
    }
}

/* group nav */
.btn-toggle {
    padding: .25rem .5rem;
    font-weight: 400;
    color: rgba(0, 0, 0, .65);
    background-color: transparent;
}
.btn-toggle:hover,
.btn-toggle:focus {
    color: rgba(0, 0, 0, .85);
    background-color: #d2f4ea;
}
.btn-toggle::before {
    width: 1.25em;
    line-height: 0;
    content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
    transition: transform .35s ease;
    transform-origin: .5em 50%;
}
.btn-toggle[aria-expanded="true"] {
    color: rgba(0, 0, 0, .85);
    font-weight: bolder;
}
.btn-toggle[aria-expanded="true"]::before {
    transform: rotate(90deg);
}
.btn-toggle-nav a {
    padding: .1875rem .5rem;
    margin-top: .125rem;
    margin-left: 1.25rem;
}
.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
    background-color: #d2f4ea;
}
.btn-toggle-nav .active {
    background-color: #d2f4ea;
}

/* loading */
.ping {
    --uib-size: 50px;
    --uib-speed: 1s;
    --uib-color: #3950cf;
    position: relative;
    height: var(--uib-size);
    width: var(--uib-size);
}

.ping::before,
.ping::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    background-color: var(--uib-color);
    animation: pulse7132 var(--uib-speed) linear infinite;
    transform: scale(0);
    opacity: 0;
}

.ping::after {
    animation-delay: calc(var(--uib-speed) / -2);
}

@keyframes pulse7132 {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* User */
.user-avatar {
    width: 2.4rem;
    height: 2.4rem;
    margin: 1rem;
}
.user-decorate {
    width: 4.4rem;
    height: 4.4rem;
    position: absolute;
}
.user-primary {
    margin-top: 0.88rem;
}
.user-info {
    max-width: 18rem;
}
.user-link {
    text-decoration: none;
    color: #212529;
}
.user-link:hover .user-nickname {
    text-decoration: underline;
    color: #212529;
}
.user-link .user-nickname {
    font-weight: 500;
    font-size: 1rem;
    max-width: 7rem;
    margin-right: 0.3rem;
}
.user-link .user-verified img {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: -0.2rem;
    margin-right: 0.4rem;
}
.user-link .user-name {
    font-size: 0.8rem;
    margin-right: 0.4rem;
    margin-top: 0.1rem;
}
.user-role {
    margin-top: -0.16rem;
}
.user-role .badge {
    font-weight: 400;
    background-color: #f2f3f5;
    color: #90949c;
    margin-right: 0.4rem;
}
.user-role img {
    height: 1rem;
    margin-right: 0.4rem;
}
.user-icon {
    margin-left: 0.1rem;
}
.user-icon img {
    margin-right: 0.3rem;
    margin-bottom: 0.3rem;
    height: 1rem;
}
.user-secondary {
    font-size: 0.8rem;
    margin-top: 0.2rem;
}
.user-secondary a {
    text-decoration: none;
}
.user-secondary a:hover {
    text-decoration: underline;
}
@media (min-width: 992px) {
    .user-icon {
        max-width: 16rem;
        margin-bottom: 0rem;
    }
}

/* Profile */
.profile-avatar {
    width: 4.4rem;
    height: 4.4rem;
    margin: 2.2rem;
}
.profile-decorate {
    width: 8.8rem;
    height: 8.8rem;
    position: absolute;
}
.profile-nickname h1 {
    font-size: 1.5rem;
    margin-right: 0.4rem;
    margin-bottom: 0;
}
.profile-nickname img {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: 0.3rem;
    margin-right: 0.4rem;
}
.profile-nickname span {
    font-size: 0.7rem;
    font-weight: 400;
    height: fit-content;
    margin-top: 0.3rem;
}

/* Post and Comment */
.content-title img {
    max-height: 2rem;
}

.content-article h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.content-article h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.content-article h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
}
.content-article h4 {
    font-size: 1rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.content-article h5 {
    font-size: 0.9rem;
    margin-top: 1.5rem;
}
.content-article blockquote {
    padding: 10px 15px;
    margin-bottom: 20px;
    background-color: whitesmoke;
    border-left: 4px solid #999;
    word-break: break-word;
    font-size: 15px;
}
.content-article blockquote p {
    margin-bottom: 0;
}
.content-article img {
    max-width: 100%;
}
.content-article ul li {
    margin-bottom: 0.4rem;
}
.content-article table {
    margin-bottom: 1rem;
}
.content-article table tr {
    background-color: #fff;
    border-top: 1px solid #c6cbd1;
}
.content-article table thead tr {
    background-color: #badce3;
}
.content-article table tr:nth-child(2n) {
    background-color: #f6f8fa;
}
.content-article table th,
.content-article table td {
    padding: 10px 15px;
    border: 1px solid #dfe2e5;
}

.fresns_hashtag,
.fresns_link,
.fresns_mention {
    text-decoration: none;
    position: relative;
    z-index: 999;
}
.fresns_sticker {
    padding: 0;
    margin: 0;
    zoom: 0.5;
    -moz-transform: scale(0.5);
    -moz-transform-origin: center;
}
.fresns_file_image {
    margin-bottom: 15px;
}

.content-files video {
    width: 100%;
    max-height: 300px;
    padding-right: 0.4rem;
    padding-bottom: 0.4rem;
}
@media (min-width: 992px) {
    .content-files video {
        width: 50%;
        max-height: 300px;
        padding-right: 0.4rem;
        padding-bottom: 0.4rem;
    }
}

.content-group img {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.35rem;
}
.content-group a {
    color: #6c757d !important;
    background-color: #f2f3f5 !important;
    border: 0.1rem solid #ffffff !important;
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
}
.content-group a:hover {
    color: #0dcaf0 !important;
    background-color: #ffffff !important;
    border: 0.1rem solid #0dcaf0 !important;
}
.content-user-list {
    padding-top: 0.1rem;
}

.interaction-box {
    width: 6rem;
}
.interaction .btn-inter {
    line-height: 0rem;
    font-size: 0.85rem;
    padding: 0rem;
    padding-top: 0.3rem;
    border: none;
}
.interaction .btn-inter img {
    width: 2rem;
    height: 2rem;
    padding: 0.4rem;
    margin-top: -0.3rem;
}
.interaction .btn-inter:hover {
    color: #f60 !important;
}
.interaction .btn-inter:hover img {
    background-color: #f2f3f5;
    border-radius: 1.2rem;
}
.interaction .btn-active {
    color: #fda956 !important;
}
.interaction-more img {
    width: 1rem;
    height: 1rem;
    margin-right: 0.3rem;
}

/* Post */
.post-allow-static {
    margin-top: -120px;
    height: 120px;
    position: relative;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(#fff));
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
}
.post-top-comment {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    background-color: #f2f3f5;
    border-radius: 0.4rem;
}
.post-top-comment:hover {
    background-color: #dee2e6;
}
.comment-author a {
    text-decoration: none;
}
.comment-image-1 .image-box,
.comment-image-2 .image-box {
    max-width: 50%;
    padding-right: 0.5rem;
    padding-top: 0.5rem;
}
.comment-image-3 .image-box,
.comment-image-4 .image-box,
.comment-image-5 .image-box,
.comment-image-6 .image-box,
.comment-image-7 .image-box,
.comment-image-8 .image-box,
.comment-image-9 .image-box {
    max-width: 33%;
    padding-right: 0.5rem;
    padding-top: 0.5rem;
}

/* Comment */
.author-badge {
    padding: 0.1rem 0.2rem;
    font-size: 0.5rem;
    color: #6c757d !important;
    border: 0.1rem solid #6c757d;
    border-radius: 0.4rem;
    margin-left: 0.15rem;
}
.comment-preview {
    padding: 0.8rem 1rem 0.3rem 1rem;
    font-size: 0.9rem;
    background-color: #f2f3f5;
    border-radius: 0.4rem;
}
.comment-preview:hover {
    background-color: #dee2e6;
}

/* File */
.image-box, .document-box {
    z-index: 999;
}

/* File Image */
.file-image-1 .image-box {
    max-width: 60%;
    padding-right: 0.4rem;
}
.file-image-1 .image-box img {
    max-height: 400px;
}
.file-image-2 .image-box {
    max-width: 50%;
    padding-right: 0.4rem;
}
.file-image-3 .image-box {
    max-width: 33%;
    padding-right: 0.4rem;
}
.file-image-4 .image-box {
    max-width: 50%;
    padding-right: 0.4rem;
    padding-bottom: 0.4rem;
}
.file-image-5 .image-box,
.file-image-6 .image-box,
.file-image-7 .image-box,
.file-image-8 .image-box,
.file-image-9 .image-box {
    max-width: 33%;
    padding-right: 0.4rem;
    padding-bottom: 0.4rem;
}

/* File Video */
.btn-video-play {
    line-height: 0rem;
    padding: 0.2rem 0.5rem;
}
.btn-video-play i {
    font-size: 2.5rem;
}
.file-video .position-relative {
    width: 50%;
    padding-right: 0.4rem;
    padding-bottom: 0.4rem;
}

/* File Document */
.document-box {
    width: 100%;
    display: flex;
    align-items: center;
    background-color: #f1f3f4;
    color: #5a5c66;
    font-size: 0.9rem;
    margin: 0.5rem 0;
    padding: 0rem;
}
.document-box:hover {
    background-color: #dee2e6;
}
.document-box .document-icon {
    background-color: #f57f59;
    border-top-left-radius: 0.2rem;
    border-bottom-left-radius: 0.2rem;
    color: #fff;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
}
.document-box .document-name {
    margin-left: 0.75rem;
}
.document-icon-fs {
    font-size: 5rem;
}
.file-download-user img {
    width: 2rem;
    height: 2rem;
    margin: 0.2rem;
}

/* Extend Frame Info */
.frame-box-info {
    background-color: #e9ecef;
}
.frame-box-info:hover {
    background-color: #dee2e6;
}
.frame-box-text {
    padding: 1rem;
    border-left: 0.3rem solid #cccccc;
    background-color: #f5f8fa;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 400;
}
.frame-box-text:hover {
    background-color: #e9ecef;
}
.frame-box-text p {
    margin-bottom: 0.3rem;
}
.frame-title {
    font-size: 0.9rem;
    line-height: 1.3;
    color: #495057;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.frame-desc {
    font-size: 0.8rem;
    color: #888888;
}
.frame-image-basic {
    width: 3.5rem;
    height: 3.5rem;
}
.frame-image-big {
    width: 7rem;
    height: 7rem;
}
.frame-image-portrait {
    width: 5rem;
    height: 7rem;
}
.frame-image-landscape {
    width: 8rem;
    height: 5.6rem;
}
.frame-box-big {
    height: 7rem;
    padding: 0.8rem 0;
}
.frame-box-portrait {
    height: 7rem;
    padding: 0.8rem 0;
}
.frame-box-landscape {
    height: 5.6rem;
    padding: 0.5rem 0;
}

/* Comment */
.comment-author .user-avatar {
    width: 2rem;
    height: 2rem;
    margin: 0.8rem;
}
.comment-author .user-decorate {
    width: 3.6rem;
    height: 3.6rem;
}
.comment-author .user-primary {
    margin-top: 0.6rem;
}
.comment-author .user-link .user-nickname {
    font-weight: 400;
    font-size: 0.95rem;
}
.comment-author .user-info .text-muted {
    font-size: 0.95rem;
}
.comment-box {
    margin-left: 3.6rem;
    margin-right: 1rem;
}
.comment-content p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.comment-preview {
    padding: 0.8rem 1rem 0.3rem 1rem;
    font-size: 0.9rem;
    background-color: #f2f3f5;
    border-radius: 0.4rem;
}
.comment-preview:hover {
    background-color: #dee2e6;
}
.comment-interaction {
    margin-right: 0.5rem;
}
.comment-interaction button {
    line-height: 0rem;
    font-size: 0.85rem;
    padding: 0rem;
}
.comment-interaction button span {
    font-size: 0.7rem;
    margin-left: 0.3rem;
}
.comment-interaction button:hover {
    color: #f60 !important;
}
.comment-interaction .btn-active {
    color: #fda956 !important;
}
.comment-interaction .comment-btn {
    line-height: 0rem;
    padding: 0.8rem 0.6rem;
}

.comment-post {
    padding: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #212529 !important;
    background-color: #f2f3f5;
    border-radius: 0.4rem;
}
.comment-post:hover {
    background-color: #dee2e6;
}
.comment-post:hover .border-top {
    border-top-color: #cccccc !important;
}
.comment-post img {
    height: 2.8rem;
    width: 2.8rem;
    margin-right: 0.6rem;
}
.comment-post .flex-grow-1 {
    padding-top: 0.1rem;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.comment-post-group {
    margin-top: 0.2rem;
    padding-top: 0.2rem;
    padding-right: 0.2rem;
    font-size: 0.8rem;
    font-weight: 400;
    text-align: end;
}

/*
 * Editor CSS
 */
.fresns-editor {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    margin-top: 110px;
}
.fresns-editor.fresns-editor-box {
    margin-top: 0 !important;
}

.fresns-editor .editor-alert .alert {
    line-height: 1.6;
}

.fresns-editor .editor-group button {
    background-color: #fff;
}

.fresns-editor .editor-group button:hover {
    background-color: #dee2e6;
}

.fresns-editor .editor-toolbar {
    background-color: #ecedef;
}

.fresns-editor .editor-toolbar i {
    font-size: 1.5rem;
}

.fresns-editor .editor-toolbar span {
    font-size: 0.75rem;
    margin-top: -0.2rem;
}

.fresns-editor .editor-content {
    background-color: #fff;
}

/* stickers */
.stickers .dropdown-menu {
    width: 90%;
}
@media (min-width: 992px) {
    .stickers .dropdown-menu {
        width: 40%;
    }
}
.fs-sticker img {
    margin: 0.2rem;
    zoom: 0.5;
    cursor: pointer;
}

/* file */
.editor-btn-delete {
    background-color: rgba(255, 255, 255, 0.6);
}

/* file image */
.editor-file-image .position-relative {
    float: left;
    width: auto;
    max-width: 31%;
    margin-left: 0.5rem;
    margin-bottom: 0.5rem;
}
.editor-file-image-1 .position-relative {
    width: auto;
    max-width: 60%;
    margin-bottom: 0.5rem;
}
.editor-file-image-1 input {
    display: none;
}
.editor-file-image-2 .position-relative {
    float: left;
    width: auto;
    max-width: 48%;
    margin-left: 0.5rem;
    margin-bottom: 0.5rem;
}
.editor-file-image-3 .position-relative {
    float: left;
    width: auto;
    max-width: 31%;
    margin-left: 0.5rem;
    margin-bottom: 0.5rem;
}
.editor-file-image-4 .position-relative {
    float: left;
    width: auto;
    max-width: 48%;
    margin-left: 0.5rem;
    margin-bottom: 0.5rem;
}
.editor-file-image-5 .position-relative {
    float: left;
    width: auto;
    max-width: 31%;
    margin-left: 0.5rem;
    margin-bottom: 0.5rem;
}
.editor-file-image-6 .position-relative {
    float: left;
    width: auto;
    max-width: 31%;
    margin-left: 0.5rem;
    margin-bottom: 0.5rem;
}
.editor-file-image-7 .position-relative {
    float: left;
    width: auto;
    max-width: 31%;
    margin-left: 0.5rem;
    margin-bottom: 0.5rem;
}
.editor-file-image-8 .position-relative {
    float: left;
    width: auto;
    max-width: 31%;
    margin-left: 0.5rem;
    margin-bottom: 0.5rem;
}
.editor-file-image-9 .position-relative {
    float: left;
    width: auto;
    max-width: 31%;
    margin-left: 0.5rem;
    margin-bottom: 0.5rem;
}

/* file video */
.editor-file-video .position-relative {
    width: auto;
    max-width: 48%;
    float: left;
    margin-left: 0.5rem;
    margin-bottom: 0.5rem;
}
.editor-btn-video-play {
    line-height: 0rem;
    padding: 0.15rem 0.4rem;
}
.editor-btn-video-play i {
    font-size: 2rem;
}

/* file audio */
.editor-file-audio audio {
    width: 100%;
}
.editor-file-audio .position-relative {
    margin-bottom: 0.5rem;
}

/* file document */
.editor-file-document .position-relative {
    margin-bottom: 0.5rem;
}
.editor-file-document .editor-document-box {
    margin-bottom: 1rem;
    border-radius: 0.2rem;
    background-color: #f1f3f4;
    color: #5a5c66;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}
.editor-file-document .editor-document-icon {
    background-color: #f57f59;
    border-top-left-radius: 0.2rem;
    border-bottom-left-radius: 0.2rem;
    color: #fff;
    font-size: 1.2rem;
    padding: 0.4rem 1rem;
}
.editor-file-document .editor-document-name {
    margin-left: 0.75rem;
}

/* extend frame text */
.editor-frame-text {
    margin-bottom: 1rem;
    padding: 0.8rem 0.8rem 0.4rem 0.8rem;
    border-left: 0.2rem solid #cccccc;
    background-color: #f5f8fa;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 400;
    overflow: auto;
}
.editor-frame-text p {
    margin-bottom: 0.4rem;
}

/* extend frame info */
.editor-frame-info {
    margin-bottom: 1rem;
    background-color: #e9ecef;
    display: table;
    width: 100%;
}
.editor-frame-info:hover {
    background-color: #dee2e6;
}
.editor-info-img {
    display: table-cell;
    vertical-align: top;
    text-align: left;
}
.editor-info-body {
    display: table-cell;
    vertical-align: middle;
    padding: 0 1rem;
    text-align: left;
}
.editor-info-btn {
    display: table-cell;
    vertical-align: middle;
    padding-right: 1rem;
    text-align: right;
}

.editor-info-basic .editor-info-img,
.editor-info-basic img {
    width: 50px;
    height: 50px;
}
.editor-info-big .editor-info-img,
.editor-info-big img {
    width: 100px;
    height: 100px;
}
.editor-info-portrait .editor-info-img,
.editor-info-portrait img {
    width: 90px;
    height: 100px;
}
.editor-info-landscape .editor-info-img,
.editor-info-landscape img {
    width: 110px;
    height: 70px;
}
.editor-info-body .editor-info-title {
    font-size: 0.88rem;
    line-height: 1.3;
    color: #495057;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.editor-info-body .editor-info-desc {
    font-size: 0.8rem;
    color: #888888;
    margin-top: 0.4rem;
}

/* conversation */
.conversation-list-avatar {
    width: 4rem;
    height: 4rem;
}
.conversation-avatar {
    width: 3rem;
    height: 3rem;
}
.conversation-user-verified {
    width: 1.2rem;
    height: 1.2rem;
    margin-top: -0.2rem;
}
.conversation-user-name {
    font-size: 0.8rem;
    font-weight: 400;
}
.conversation-brief {
    font-size: 0.88rem;
    line-height: 1.3;
    color: #495057;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
